var REQUEST_SUCCESS_CDOE = 0;
var REQUEST_FAIL_CODE =1;
var REQUEST_ERROR_CODE = 5555;//前端自定义
var NEED_LOGIN = 10;
var ALERADY_OTHER_LOGIN = 11;
var API_SERVER = "http://market.yixiaoy.cn"
//var API_SERVER = "http://192.168.16.112:8080"

//var API_SERVER = "http://172.17.11.157:8080"



var USER_API = API_SERVER+'/user';
var GOODS_API = API_SERVER+'/goods';
var ADDRESS_API = API_SERVER+'/address';
var MESSAGE_API = API_SERVER +'/message';
var ORDER_API = API_SERVER + '/order';

var IMG_SERVER_PATH ="http://img.yixiaoy.cn/market";
var USER_FACE_PATH = IMG_SERVER_PATH + '/userface';
var GOODS_IMG_PATH = IMG_SERVER_PATH + "/goods";


//常用提示语
var STU_ID_IS_NOT_EXIST = "学号不存在";
var PASSWOR_IS_WRONG = "用户名或密码不正确";
var REQUEST_FAIL = "请求失败";

//本地缓存
var LS_STU_ID_TOKEN = "stu_id_token";
var LS_LOGIN_TOKEN ="login_token";
var LS_USER_NICK_NAME = "user_nick_name";
var LS_USER_FACE = "user_face";



